﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chenxin.Lib.Business.Entity
{
    /// <summary>
    /// 实体类ContractInfo 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class ContractInfo
    {
        public ContractInfo()
        { }
        #region Model
        private Guid _contract_id;
        private Guid _city_id;
        private string _city_name;
        private Guid _company_id;
        private string _company_name;
        private Guid _contract_lastprintuserid;
        private string _contract_lastprintusername;
        private DateTime? _contract_lastprintdate;
        private int? _contract_printcount;
        private int? _contract_type;
        private string _contract_code;
        private string _contract_a;
        private string _contract_b;
        private string _contract_content;
        private string _contract_propertycode;
        private string _contract_ownercode;
        private string _contract_landusecode;
        private string _contract_othercode;
        private decimal? _contract_housearea;
        private decimal? _contract_gargearea;
        private int? _contract_atticcount;
        private decimal? _contract_atticarea;
        private string _contract_a_identity;
        private string _contract_mortgage;
        private string _contract_use;
        private string _contract_otheruse;
        private DateTime? _contract_rentstartdate;
        private DateTime? _contract_rentenddate;
        private DateTime? _contract_providedate;
        private int? _contract_freeday;
        private DateTime? _contract_freestartdate;
        private DateTime? _contract_freeenddate;
        private int? _contract_renealday;
        private int? _contract_returnday;
        private decimal? _contract_lateprice;
        private DateTime? _contract_earnestdate;
        private decimal? _contract_earnestmoney;
        private int? _contract_earnestday;
        private string _contract_earnestuse;
        private decimal? _contract_rentpriceday;
        private decimal? _contract_rentpricemonth;
        private string _contract_rentpricemonthupper;
        private bool _contract_rentpricetax;
        private string _contract_paymethod;
        private string _contract_payusername;
        private string _contract_payusercode;
        private string _contract_paybank;
        private string _contract_a_sure;
        private int? _contract_rentkeep;
        private string _contract_rentkeepunit;
        private int? _contract_rentchange;
        private string _contract_rentchangeunit;
        private string _contract_rentchangecontent;
        private int _contract_rentpaycycle;
        private DateTime? _contract_rentfirstdate;
        private string _contract_rentothertime;
        private int? _contract_latefree;
        private int? _contract_lateoutday;
        private int? _contract_margincount;
        private decimal? _contract_margin;
        private string _contract_marginupper;
        private bool _contract_margincontainerearnest;
        private string _contract_a_freepay;
        private string _contract_b_freepay;
        private string _contract_otherfreepay;
        private int? _contract_maintainday;
        private string _contract_approvaluser;
        private bool _contract_cansublet;
        private int? _contract_liqui_both;
        private int? _contract_a_lateday;
        private int? _contract_b_lateday;
        private string _contract_liqui_other;
        private int? _contract_liqui_a;
        private string _contract_changedealtype;
        private string _contract_changedeal;
        private int? _contract_liqui_b;
        private int? _contract_liqui;
        private string _contract_remark;
        private int? _contract_count;
        private string _contract_ownerpersonalother;
        private string _contract_a_name;
        private string _contract_a_address;
        private string _contract_a_idnumber;
        private string _contract_a_agent;
        private DateTime? _contract_a_suredate;
        private string _contract_b_name;
        private string _contract_b_address;
        private string _contract_b_idnumber;
        private string _contract_b_agent;
        private DateTime? _contract_b_suredate;
        private DateTime? _contract_date;
        private int? _contract_status;
        /// <summary>
        /// 
        /// </summary>
        public Guid Contract_Id
        {
            set { _contract_id = value; }
            get { return _contract_id; }
        }
        /// <summary>
        /// 城市ID
        /// </summary>
        public Guid CityId
        {
            get { return _city_id; }
            set { _city_id = value; }
        }
        /// <summary>
        /// 城市名称
        /// </summary>
        public string CityName
        {
            get { return _city_name; }
            set { _city_name = value; }
        }
        /// <summary>
        /// 公司ID
        /// </summary>
        public Guid CompanyId
        {
            get { return _company_id; }
            set { _company_id = value; }
        }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName
        {
            get { return _company_name; }
            set { _company_name = value; }
        }
        /// <summary>
        /// 最后打印员工ID
        /// </summary>
        public Guid Contract_LastPrintUserId
        {
            get { return _contract_lastprintuserid; }
            set { _contract_lastprintuserid = value; }
        }
        /// <summary>
        /// 最后打印员工名称
        /// </summary>
        public string Contract_LastPrintUserName
        {
            get { return _contract_lastprintusername; }
            set { _contract_lastprintusername = value; }
        }
        /// <summary>
        /// 最后打印时间
        /// </summary>
        public DateTime? Contract_LastPrintDate
        {
            set { _contract_lastprintdate = value; }
            get { return _contract_lastprintdate; }
        }

        /// <summary>
        /// 打印次数
        /// </summary>
        public int? Contract_PrintCount
        {
            get { return _contract_printcount; }
            set { _contract_printcount = value; }
        }

        /// <summary>
        /// 合同类型(10:居住类/20:非居住类)
        /// </summary>
        public int? Contract_Type
        {
            set { _contract_type = value; }
            get { return _contract_type; }
        }
        /// <summary>
        /// 预成交编号
        /// </summary>
        public string Contract_Code
        {
            set { _contract_code = value; }
            get { return _contract_code; }
        }
        /// <summary>
        /// 出租方
        /// </summary>
        public string Contract_A
        {
            set { _contract_a = value; }
            get { return _contract_a; }
        }
        /// <summary>
        /// 承租方
        /// </summary>
        public string Contract_B
        {
            set { _contract_b = value; }
            get { return _contract_b; }
        }
        /// <summary>
        /// 出租内容（地址××市××及××车库/位）
        /// </summary>
        public string Contract_Content
        {
            set { _contract_content = value; }
            get { return _contract_content; }
        }
        /// <summary>
        /// 房地产权证书号
        /// </summary>
        public string Contract_PropertyCode
        {
            set { _contract_propertycode = value; }
            get { return _contract_propertycode; }
        }
        /// <summary>
        /// 房屋所有权证号
        /// </summary>
        public string Contract_OwnerCode
        {
            set { _contract_ownercode = value; }
            get { return _contract_ownercode; }
        }
        /// <summary>
        /// 国有土地使用权证号
        /// </summary>
        public string Contract_LandUseCode
        {
            set { _contract_landusecode = value; }
            get { return _contract_landusecode; }
        }
        /// <summary>
        /// 其他号码
        /// </summary>
        public string Contract_OtherCode
        {
            set { _contract_othercode = value; }
            get { return _contract_othercode; }
        }
        /// <summary>
        /// 房屋面积
        /// </summary>
        public decimal? Contract_HouseArea
        {
            set { _contract_housearea = value; }
            get { return _contract_housearea; }
        }
        /// <summary>
        /// 车库面积
        /// </summary>
        public decimal? Contract_GargeArea
        {
            set { _contract_gargearea = value; }
            get { return _contract_gargearea; }
        }
        /// <summary>
        /// 阁楼数量
        /// </summary>
        public int? Contract_AtticCount
        {
            set { _contract_atticcount = value; }
            get { return _contract_atticcount; }
        }
        /// <summary>
        /// 阁楼面积
        /// </summary>
        public decimal? Contract_AtticArea
        {
            set { _contract_atticarea = value; }
            get { return _contract_atticarea; }
        }
        /// <summary>
        /// 甲方身份(房地产权人/他项权利人)
        /// </summary>
        public string Contract_A_Identity
        {
            set { _contract_a_identity = value; }
            get { return _contract_a_identity; }
        }
        /// <summary>
        /// 是否抵押贷款(已设定抵押/未设定抵押)
        /// </summary>
        public string Contract_Mortgage
        {
            get { return _contract_mortgage; }
            set { _contract_mortgage = value; }
        }

        /// <summary>
        /// 用途描述
        /// </summary>
        public string Contract_Use
        {
            set { _contract_use = value; }
            get { return _contract_use; }
        }
        /// <summary>
        /// 其他用途（多选项,仅非居住类有）
        /// </summary>
        public string Contract_OtherUse
        {
            set { _contract_otheruse = value; }
            get { return _contract_otheruse; }
        }
        /// <summary>
        /// 租赁合同生效开始日期
        /// </summary>
        public DateTime? Contract_RentStartDate
        {
            set { _contract_rentstartdate = value; }
            get { return _contract_rentstartdate; }
        }
        /// <summary>
        /// 租赁合同生效结束日期
        /// </summary>
        public DateTime? Contract_RentEndDate
        {
            set { _contract_rentenddate = value; }
            get { return _contract_rentenddate; }
        }
        /// <summary>
        /// 交房日期
        /// </summary>
        public DateTime? Contract_ProvideDate
        {
            set { _contract_providedate = value; }
            get { return _contract_providedate; }
        }
        /// <summary>
        /// 免租期(单位：月)
        /// </summary>
        public int? Contract_FreeDay
        {
            set { _contract_freeday = value; }
            get { return _contract_freeday; }
        }
        /// <summary>
        /// 免租期开始日期
        /// </summary>
        public DateTime? Contract_FreeStartDate
        {
            set { _contract_freestartdate = value; }
            get { return _contract_freestartdate; }
        }
        /// <summary>
        /// 免租期结束日期
        /// </summary>
        public DateTime? Contract_FreeEndDate
        {
            set { _contract_freeenddate = value; }
            get { return _contract_freeenddate; }
        }
        /// <summary>
        /// 续约通告日期（乙方通告甲方）单位：天
        /// </summary>
        public int? Contract_RenealDay
        {
            set { _contract_renealday = value; }
            get { return _contract_renealday; }
        }
        /// <summary>
        /// 返房日期
        /// </summary>
        public int? Contract_ReturnDay
        {
            set { _contract_returnday = value; }
            get { return _contract_returnday; }
        }
        /// <summary>
        /// 逾期房价(单位：元/天)
        /// </summary>
        public decimal? Contract_LatePrice
        {
            set { _contract_lateprice = value; }
            get { return _contract_lateprice; }
        }
        /// <summary>
        /// 定金支付日期
        /// </summary>
        public DateTime? Contract_EarnestDate
        {
            set { _contract_earnestdate = value; }
            get { return _contract_earnestdate; }
        }
        /// <summary>
        /// 定金数量
        /// </summary>
        public decimal? Contract_EarnestMoney
        {
            set { _contract_earnestmoney = value; }
            get { return _contract_earnestmoney; }
        }
        /// <summary>
        /// 定金补齐天数
        /// </summary>
        public int? Contract_EarnestDay
        {
            set { _contract_earnestday = value; }
            get { return _contract_earnestday; }
        }
        /// <summary>
        /// 定金用途(转保证金/转租金/返还乙方)
        /// </summary>
        public string Contract_EarnestUse
        {
            set { _contract_earnestuse = value; }
            get { return _contract_earnestuse; }
        }
        /// <summary>
        /// 日租金
        /// </summary>
        public decimal? Contract_RentpriceDay
        {
            set { _contract_rentpriceday = value; }
            get { return _contract_rentpriceday; }
        }
        /// <summary>
        /// 月租金
        /// </summary>
        public decimal? Contract_RentPriceMonth
        {
            set { _contract_rentpricemonth = value; }
            get { return _contract_rentpricemonth; }
        }
        /// <summary>
        /// 月租金大写
        /// </summary>
        public string Contract_RentPriceMonthUpper
        {
            set { _contract_rentpricemonthupper = value; }
            get { return _contract_rentpricemonthupper; }
        }
        /// <summary>
        /// 月租金是否含税(1:是/0:否)
        /// </summary>
        public bool Contract_RentPriceTax
        {
            set { _contract_rentpricetax = value; }
            get { return _contract_rentpricetax; }
        }
        /// <summary>
        /// 租金支付方式(现金/汇款)
        /// </summary>
        public string Contract_PayMethod
        {
            set { _contract_paymethod = value; }
            get { return _contract_paymethod; }
        }
        /// <summary>
        /// 汇款信息——户名(支付方式为汇款时由甲方填写提供)
        /// </summary>
        public string Contract_PayUserName
        {
            set { _contract_payusername = value; }
            get { return _contract_payusername; }
        }
        /// <summary>
        /// 汇款信息——帐号(支付方式为汇款时由甲方填写提供)
        /// </summary>
        public string Contract_PayUserCode
        {
            set { _contract_payusercode = value; }
            get { return _contract_payusercode; }
        }
        /// <summary>
        /// 汇款信息——开户行(支付方式为汇款时由甲方填写提供)
        /// </summary>
        public string Contract_PayBank
        {
            set { _contract_paybank = value; }
            get { return _contract_paybank; }
        }
        /// <summary>
        /// 汇款信息——甲方确认(支付方式为汇款时由甲方填写提供)
        /// </summary>
        public string Contract_A_Sure
        {
            set { _contract_a_sure = value; }
            get { return _contract_a_sure; }
        }
        /// <summary>
        /// 租金保持时间
        /// </summary>
        public int? Contract_RentKeep
        {
            set { _contract_rentkeep = value; }
            get { return _contract_rentkeep; }
        }
        /// <summary>
        /// 租金保持时间单位(年/月)
        /// </summary>
        public string Contract_RentKeepUnit
        {
            set { _contract_rentkeepunit = value; }
            get { return _contract_rentkeepunit; }
        }
        /// <summary>
        /// 租金变更时间
        /// </summary>
        public int? Contract_RentChange
        {
            set { _contract_rentchange = value; }
            get { return _contract_rentchange; }
        }
        /// <summary>
        /// 租金变更时间单位(年/月)
        /// </summary>
        public string Contract_RentChangeUnit
        {
            set { _contract_rentchangeunit = value; }
            get { return _contract_rentchangeunit; }
        }
        /// <summary>
        /// 租金变更协商内容

        /// </summary>
        public string Contract_RentChangeContent
        {
            set { _contract_rentchangecontent = value; }
            get { return _contract_rentchangecontent; }
        }
        /// <summary>
        /// 租金支付周期(单位：月)
        /// </summary>
        public int Contract_RentPayCycle
        {
            set { _contract_rentpaycycle = value; }
            get { return _contract_rentpaycycle; }
        }
        /// <summary>
        /// 首期支付日期
        /// </summary>
        public DateTime? Contract_RentFirstDate
        {
            set { _contract_rentfirstdate = value; }
            get { return _contract_rentfirstdate; }
        }
        /// <summary>
        /// 其他期支付时间商定
        /// </summary>
        public string Contract_RentOtherTime
        {
            set { _contract_rentothertime = value; }
            get { return _contract_rentothertime; }
        }
        /// <summary>
        /// 滞纳金比例(月租金)(居住类默认为1%)
        /// </summary>
        public int? Contract_LateFree
        {
            set { _contract_latefree = value; }
            get { return _contract_latefree; }
        }
        /// <summary>
        /// 逾期退租天数(单位：天)
        /// </summary>
        public int? Contract_LateOutDay
        {
            set { _contract_lateoutday = value; }
            get { return _contract_lateoutday; }
        }
        /// <summary>
        /// 保证金数量（几个月的租金）单位：个
        /// </summary>
        public int? Contract_MarginCount
        {
            set { _contract_margincount = value; }
            get { return _contract_margincount; }
        }
        /// <summary>
        /// 保证金总额度
        /// </summary>
        public decimal? Contract_Margin
        {
            set { _contract_margin = value; }
            get { return _contract_margin; }
        }
        /// <summary>
        /// 保证金总额度大写
        /// </summary>
        public string Contract_MarginUpper
        {
            set { _contract_marginupper = value; }
            get { return _contract_marginupper; }
        }

        /// <summary>
        /// 保证金是否含定金1含，0不含
        /// </summary>
        public bool Contract_MarginContainerEarnest
        {
            set { _contract_margincontainerearnest = value; }
            get { return _contract_margincontainerearnest; }
        }
        /// <summary>
        /// 由甲方支付费用的项目
        /// (水费\电费\煤气费\通讯费\有线电视费\网络费\物业管理费\居间费\相关税费)
        /// </summary>
        public string Contract_A_FreePay
        {
            get { return _contract_a_freepay; }
            set { _contract_a_freepay = value; }
        }
        /// <summary>
        /// 由乙方支付费用的项目
        /// (水费\电费\煤气费\通讯费\有线电视费\网络费\物业管理费\居间费\相关税费)
        /// </summary>
        public string Contract_B_FreePay
        {
            get { return _contract_b_freepay; }
            set { _contract_b_freepay = value; }
        }
        
        /// <summary>
        /// 其他费用支付人(甲方/乙方)
        /// </summary>
        public string Contract_OtherFreePay
        {
            set { _contract_otherfreepay = value; }
            get { return _contract_otherfreepay; }
        }
        /// <summary>
        /// 保养通告日期(单位：天)
        /// </summary>
        public int? Contract_MaintainDay
        {
            set { _contract_maintainday = value; }
            get { return _contract_maintainday; }
        }
        /// <summary>
        /// 报批人（改变房屋现状,报批有关部门审核）(甲方/乙方)
        /// </summary>
        public string Contract_ApprovalUser
        {
            set { _contract_approvaluser = value; }
            get { return _contract_approvaluser; }
        }
        /// <summary>
        /// 可否转租(1:是/0:否)
        /// </summary>
        public bool Contract_CanSublet
        {
            set { _contract_cansublet = value; }
            get { return _contract_cansublet; }
        }
        /// <summary>
        /// 违约金（双方）（租金的几倍）单位：倍
        /// </summary>
        public int? Contract_Liqui_Both
        {
            set { _contract_liqui_both = value; }
            get { return _contract_liqui_both; }
        }
        /// <summary>
        /// 交房逾期天数（甲方经乙方催告几天后仍未能提供房屋的）单位：天
        /// </summary>
        public int? Contract_A_LateDay
        {
            set { _contract_a_lateday = value; }
            get { return _contract_a_lateday; }
        }
        /// <summary>
        /// 超期交房租（乙方超期几个月仍未交房租的）单位：月
        /// </summary>
        public int? Contract_B_LateDay
        {
            set { _contract_b_lateday = value; }
            get { return _contract_b_lateday; }
        }
        /// <summary>
        /// 其他解除合同条件说明
        /// </summary>
        public string Contract_Liqui_Other
        {
            set { _contract_liqui_other = value; }
            get { return _contract_liqui_other; }
        }
        /// <summary>
        /// 违约金（甲方提前收房）（几倍租金）
        /// </summary>
        public int? Contract_Liqui_A
        {
            set { _contract_liqui_a = value; }
            get { return _contract_liqui_a; }
        }
        /// <summary>
        /// 房屋改变处理方式(恢复原状/赔偿损失)
        /// </summary>
        public string Contract_ChangeDealType
        {
            set { _contract_changedealtype = value; }
            get { return _contract_changedealtype; }
        }
        /// <summary>
        /// 房屋改变处理备注（具体协商内容）
        /// </summary>
        public string Contract_ChangeDeal
        {
            set { _contract_changedeal = value; }
            get { return _contract_changedeal; }
        }
        /// <summary>
        /// 违约金（乙方违约，退租）（几倍租金）
        /// </summary>
        public int? Contract_Liqui_B
        {
            set { _contract_liqui_b = value; }
            get { return _contract_liqui_b; }
        }
        /// <summary>
        /// 违约金（双方无法履行）（租金的几倍）
        /// </summary>
        public int? Contract_Liqui
        {
            set { _contract_liqui = value; }
            get { return _contract_liqui; }
        }
        /// <summary>
        /// 其他约定内容
        /// </summary>
        public string Contract_Remark
        {
            set { _contract_remark = value; }
            get { return _contract_remark; }
        }
        /// <summary>
        /// 合同份数
        /// </summary>
        public int? Contract_Count
        {
            set { _contract_count = value; }
            get { return _contract_count; }
        }
        /// <summary>
        /// 其他保存合同的人
        /// </summary>
        public string Contract_OwnerPersonalOther
        {
            set { _contract_ownerpersonalother = value; }
            get { return _contract_ownerpersonalother; }
        }
        /// <summary>
        /// 甲方姓名

        /// </summary>
        public string Contract_A_Name
        {
            set { _contract_a_name = value; }
            get { return _contract_a_name; }
        }
        /// <summary>
        /// 甲方联系地址
        /// </summary>
        public string Contract_A_Address
        {
            set { _contract_a_address = value; }
            get { return _contract_a_address; }
        }
        /// <summary>
        /// 甲方证件号
        /// </summary>
        public string Contract_A_IdNumber
        {
            set { _contract_a_idnumber = value; }
            get { return _contract_a_idnumber; }
        }
        /// <summary>
        /// 甲方代理人
        /// </summary>
        public string Contract_A_Agent
        {
            set { _contract_a_agent = value; }
            get { return _contract_a_agent; }
        }
        /// <summary>
        /// 甲方确认日期
        /// </summary>
        public DateTime? Contract_A_SureDate
        {
            set { _contract_a_suredate = value; }
            get { return _contract_a_suredate; }
        }
        /// <summary>
        /// 乙方姓名
        /// </summary>
        public string Contract_B_Name
        {
            set { _contract_b_name = value; }
            get { return _contract_b_name; }
        }
        /// <summary>
        /// 乙方联系地址
        /// </summary>
        public string Contract_B_Address
        {
            set { _contract_b_address = value; }
            get { return _contract_b_address; }
        }
        /// <summary>
        /// 乙方证件号
        /// </summary>
        public string Contract_B_IdNumber
        {
            set { _contract_b_idnumber = value; }
            get { return _contract_b_idnumber; }
        }
        /// <summary>
        /// 乙方代理人
        /// </summary>
        public string Contract_B_Agent
        {
            set { _contract_b_agent = value; }
            get { return _contract_b_agent; }
        }
        /// <summary>
        /// 乙方确认日期
        /// </summary>
        public DateTime? Contract_B_SureDate
        {
            set { _contract_b_suredate = value; }
            get { return _contract_b_suredate; }
        }

        /// <summary>
        /// 合同录入日期
        /// </summary>
        public DateTime? Contract_Date
        {
            get { return _contract_date; }
            set { _contract_date = value; }
        }

        /// <summary>
        /// 合同状态10(有效)，0（无效）
        /// </summary>
        public int? Contract_Status
        {
            get { return _contract_status; }
            set { _contract_status = value; }
        }
        #endregion Model
    }
}
